package org.chen.org.domain;

import java.util.Date;
import org.chen.bas.domain.BasDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 
 * </p>
 *
 * @author chen
 * @since 2024-06-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Shop extends BasDomain{

    private static final long serialVersionUID = 1L;
    /**待审核 **/
    public static final int STATE_WAIT_AUDIT = 1 ; //"待审核";
    /**审核通过，待激活 **/
    public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
    /**激活成功 **/
    public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
    /**驳回 **/
    public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";

    private Long id;
    private String name;
    private String tel;
    private Date registerTime;
    /**
     * 1=待审核 2=审核通过待激活 3=激活成功 4=驳回
     */
    private Integer state;
    private String address;
    private String logo;
    private Employee admin;
    //经纬度
    private Double lng;
    private Double lat;

    private Long operate_id;
    private String note;

}
